package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yuanjie
 * @since 2022-11-07
 */
@Data
@TableName("TMS_ContractFlow")
@ApiModel(value = "ContractflowDO对象", description = "")
public class ContractFlowDO implements Serializable {


    private static final long serialVersionUID = -4233216863985331417L;
    @ApiModelProperty("合同ID")
    private Long flowContractid;

    @ApiModelProperty("开始状态")
    private Long flowSrcstatus;

    @ApiModelProperty("目标状态")
    private Long flowDststatus;

    @ApiModelProperty("处理结果，0 接受 1 拒绝")
    private Long flowOperation;

    @ApiModelProperty("备注")
    private String flowDescription;

    @ApiModelProperty("创建人")
    private Long flowCreator;

    @ApiModelProperty("创建人名字")
    private String flowCreatorname;

    @ApiModelProperty("创建公司ID")
    private Long flowCreatorcompanyid;

    @ApiModelProperty("创建公司")
    private String flowCreatorcompanyname;

    @ApiModelProperty("创建时间")
    private LocalDateTime flowCreatetime;

    @ApiModelProperty("是否失效")
    private Integer flowInvalid;

    @ApiModelProperty("备注")
    private String flowComments;

    @TableId(value = "Flow_ID", type = IdType.AUTO)
    private Long flowId;


}
